#include <bits/stdc++.h>
using namespace std;
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
using ll = long long;
void solve()
{
    ll n;
    cin >> n;
    vector<ll> b(n);
    map<ll,ll> mp;
    for(ll &x : b) {
        cin >> x;
        mp[x]++;
    }
    vector<ll> a(n);
    
    for(ll i = 0; i < n; i++) {
        
    }
}
int main()
{
    int t = 1;
    cin >> t;
    while(t--)
    {
        solve();
    }
   return 0;
}
